export const useFormExport = ({ isCup }: { isCup: boolean }): IItemArray[] => {
  return [
    {
      label: '导出数据维度',
      name: 'exportDataTypeList',
      type: 'Checkbox',
      option: isCup
        ? [
            { label: '款', value: 'SPU' },
            { label: '色', value: 'SKC' },
            { label: '杯型', value: 'SKC_CUP' },
            { label: '尺码', value: 'SKU' },
          ]
        : [
            { label: '款', value: 'SPU' },
            { label: '色', value: 'SKC' },
            { label: '尺码', value: 'SKU' },
          ],
    },
    {
      label: '导出带款式图',
      name: 'withPicture',
      type: 'Radio',
      option: [
        { label: '是', value: 1 },
        { label: '否', value: 0 },
      ],
    },
  ]
}
